package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author 谭晓粤
 * @version 1.0
 * @date 2020/6/5 15:55
 */
@Getter
public enum RequestStatus {
    SUCCESS("S","成功"),
    SUCCESS_CODE("0000","成功"),

    FAILED("F", "失败"),
    FAILED_CODE("9000","失败")
    ;

    private String  code;
    private String desc;

    RequestStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
